package cdu.sl.aichatdemo.constants;

public class CacheConstants {

    public static String USER_CACHE = "user_cache:";

    public static String REGISTER_VERIFICATION_CODE = "register_verification_code:";

    public static String LOGIN_VERIFICATION_CODE = "login_verification_code:";

    public static String PROFILE_CACHE = "profile_cache:";

    /**
     * 注册验证码过期时间 默认300秒
     */
    public static Integer REGISTER_VERIFICATION_CODE_EXPIRES_IN = 300;


    /**
     * 登录验证码过期时间 默认300秒
     */
    public static Integer LOGIN_VERIFICATION_CODE_EXPIRES_IN = 300;


    /**
     * 用户个人信息缓存过期时间 默认7天
     */
    public static Integer PROFILE_CACHE_EXPIRES_IN = 7 * 24;


}
